package cn.jk.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

@Repository
//@Scope("prototype")
//@Primary
@Qualifier("userdao1")
public class UserDao implements IUserDao{

	@Autowired
	private ApplicationContext context;

	@Override
	public void query(){
		System.out.println("query");
	}

}
